package index;

import xxl.core.util.Distance;

public class SparseMatrixDistance implements Distance{

	@Override
	public double distance(Object x, Object y) {
		SparseMatrix m_x=(SparseMatrix)x; 
		SparseMatrix m_y=(SparseMatrix)y; 
		return m_x.distanceTo(m_y); 
	}
}
